If you want your rat to do that - the trick is to catch them when they're sleepy.
If they trust you, then they'll happily lie there and be scritched, and you can position them upside down.
I can do that during mid-day with my well-socialized rats, but there's no point in even trying after 6pm.
I can do that during mid-day with my well-socialized rats, but there's no point in even trying after 6pm.