You could build a closet, hide it under a kitchen counter or both. Buildings usually stack the wet zones in a vertical line and will not allow you to put a washer and dryer in your bedroom closet even if there is room for one.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.