Isn’t the real problem not enough units?
If there are enough units, there’s no need for extra taxation on vacant units as it becomes a self-correcting problem (or someone pays a whack of property tax while consuming less than the proportional services, meaning they’re subsidizing others).