I plan on knocking on my roommates door at night.
Why would you knock on his door?
I just want to get on his nerves.
I imagine you wouldn't want someone interrupting your sleep, so you shouldn't do that to your roommate.
You're right, but I want to get him angry so he appears to be the bad guy.
Pestering others to get a rise out of them isn't right. If you have an actual issue with your roommate, talk it out instead.