Can a MBBS doctor admit patients under his care in a private nursing home? Is it legal?

Asking from medico legal point of view.