Should a transgender girl or boy should they be allowed to use the bathroom?

Yes.

Of course a transgender girl, boy or a person of any other gender should be able to use the bathroom. Being able to use the bathroom is a basic human right everyone should have, not just for cis people.