i am not sure what car you have, but i know a Jaecoo 7 plug in, as in mine, a spare wheel will not fit in the boot under the floor, as thats were the 12v battery is, best check before buying anything
FWIW, my last 3 cars have not had a spare, and ive only used the spray foam on my lawnmower tyres!