Can I put a washing machine in my bathroom? (Melbourne, AUS)

I’m looking to find a rental place in Melbourne Australia. Since I don’t have a car, I’m worried about laundry and washing unless the rental place I end up living at has a communal laundry in the building or nearby. This is probably a very silly question, but I was wondering if I can put a washing machine in my bathroom given there’s enough space? I’m going to move into a very small place (a studio) and most places don’t have the plumbing and stuff for a washing machine in the bathroom. So I was just curious if the rental place doesn’t have an allocated washing machine space, are there any renter friendly ways that I can still maybe use a washing machine or not? I understand if it’s a super silly question, but any info would be so helpful and appreciated! Thanks heaps in advance everyone:)