Yes you can call finalize(), but why you want to do something like this?

Share the problem statement, we might provide you a solution... if you may allow us.