In theory, I would say you are correct. That being said, I don't know that I would like the sound of a cofee grinder running next door while I'm still trying to sleep, and they aren't exactly quiet.
You might want to consider grinding the coffee the night before, so it's ready for the next morning.