This Datapack makes the usual players sleep when 50% are in the bed but VIPs just ignore it and override it to 0%(and then resets to 50%)
Banner of the datapack(Join my Discord or create an issue on GitHub if you have a better banner)