Different users in an app

Can I have like two different users in one app….for example a doctor and patient side in a single app

Yes, although your specific example would almost certainly violate the Glide Terms & Conditions with respect to User Data Rules and Restrictions.