i found this.i think its ok with cure time!
Spray Foam – The Curing Process And The Three E’s
If you really want to know how long spray foam takes to cure, the answer is a couple hours.
Spray foam will be tack-free within 20-30 seconds and it’ll rise to completion to where you can walk on it...
i mean something like this https://www.google.com/search?q=polyurethane+foam+spray&sxsrf=ALeKk03F_DkXpLosf-UpSSSipi77OTJbSw:1606140886596&source=lnms&tbm=isch&sa=X&ved=2ahUKEwihu4SI7ZjtAhXIFXcKHSE-CRMQ_AUoAXoECAsQAw&biw=1920&bih=937#imgrc=ce782JtzMvAltM