No outlet in bathroom?
Of course it is "allowed". Actually, what do you mean by allowed? Allowed by whom??

In newer homes newer codes apply, for the most part in an older home whatever was code at the time of installation is still code complaint today.