You can, but it's easier to evade fares. The driver can enforce fares better at the door near them.
My local transit agency just stopped allowing rear door boarding, and that was one of the main reasons: https://waypointblog.com/capmetro-is-ending-rear-door-boardi...