Not quite.
"The sick man stayed in the hospital"
"The sick man went to the hospital"
"The sick man was recovering in the hospital"
"The sick man resided in the hospital"
Occupied often imples that it is filled or that a person lives there or controls it.
If using the word 'occupied', no need to use the preposition.
"The protest group occupied the hospital"