But if you look at something like the mucus of the hagfish, you might have something. The hagfish will turn the surrounding water into a goo (reaction between sea water and mucus). I'd imagine you could foam that up much like you can do with the yolk of an egg (another possibility). It's easier to look at existing organic compounds than mess with man-made crap. But do you want a hagfish in your body?