To sum up some of what I've said in other similar threads... rabbits are crepuscular - most active in "twilight" hours (but also at 3 am). It's not a test, it's just when they have the most energy. Biology tells them to be most active when there are the least predators awake/skulking around. You will never convince a rabbit that it's not time for them to play when you're trying to sleep unless you become nocturnal.
If putting the rabbit in a different room simply isn't an option for whatever reason, your only alternatives are trying to substitute quieter diversions, like a dig box full of shredded paper, if the bunn doesn't pee in it, a phone book (if you can find one these days
) to rip up or some butcher paper/packing paper - paper tearing is easier to tune out than banging on the bars.
Above all else, if you're stuck sleeping with a rabbit in your room, I can NOT over-emphasize the importance of some sort of white noise/sleep sounds! Youtube is full of them. The sound of a train chugging in the rain is the one my husband and I agree works best for us when we need to drown out animal shenanigans, but if something different suits you better, it's bound to be on Youtube somewhere. The right soothing, relaxing background noise will train your brain to ignore noises below a certain volume threshold while sleeping. I can't promise you won't still be woken up by particularly loud bunny shenanigans, but it won't be loud, grating sounds in an otherwise silent room. I don't think I could've survived loud apartment neighbors + crazy animals without sleep sounds!