Money Savings: Foam applicator for regular liquid to save $?

Curious if anyone has found a way to turn the regular liquid minoxidil into the foam version without having to spend nearly twice the amount on the store version?

Would a foam sprayer suffice or is there something else in the foam product added to help it become airy?