This will be entirely dependent on your internal policies. There is no regulatory requirement that I'm aware of that would prevent you from closing the loan with forced placed hazard insurance.
Now, whether you should close a loan in such a case for a borrower that can't or refuses to meet the obligation of their current loan/security agreement is another discussion.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.