i don’t think OP is asking for double Elite qualifying nights for the same calendar night, s/he asking for points to be earned on two rooms at the same hotel on the same night.
I occasionally have relatives stay with me on the same property and at slightly different, but partially overlapping dates. The trick to make sure one gets points (not EQNs) for all expenses incurred in both rooms is to transfer one room’s entire folio into the other room’s and settle both bills with a single invoice and cc transaction.