Old idea. Google on "Space Activity Suit".
In the 1950s the Air Force issued high altitude suitsn which were close fitting and had hoses runing doen the outside of the arms, legs, and torso. When you pressurize the tubes it pulls the fabric suit tight providing the mechanical counter-pressure.
In the 1960s NASA replaced the canvas and tubes with a spandex long-john. Tests, including human volunteers in vacuum chambers, were very successful. But, according to the late G. Harry Stein, the Astronaut corps refused to wear a "leotarsd" and insisted on "space armor".
The theoretical advantage to fabric conterpressure suits (beside light weight) is being able to regulate body heat by sweating. In the first Gemini spacewalks were disasterous and the astronauts overheated. They forgot that space acts aas a Thermos.
In the SAS sweat passes through fabic and evaporates in the vaccuum, which cools you.In current suits you have to wear a liquid cooled undergarment and about half of that gigantic backpack is cooling.
Tnis is why I don't think a "spray-on" suit will work, since you can't sweat through it. same for suits designed to protect you from environmental hazards. Try jogging for two miles in a zipped-up wetsuit, but not without medical assistance.
IMTU there are two "space suits". The Vaccuum Suit is skintight fabric with a beathing helmet. For EVA put on gloves and a thick coverall with elbow and knee pads. A lot of spacecrew, including the Navy, wear the undersuits 24/7.
My Vaccuum suits povide no protection against corrosive, very hot, or very cold atmospheres. For those inhospitable places I have all-environment suits, which can also act as diving suits down to 100m+. Combat Armor and Battledress are also all-environment suits