If you don't have the patience to slowly fill the void with spray foam through holes drilled in one of the studs, you could (if you were an experienced carpenter) use a Sawzall to remove one of the studs and re-frame the corner as a two-stud corner. Then you could either insulate the void with a fiberglass batt or simply present the two-stud corner to the spray-foam contractor as an accessible corner. http://youtube.com/watch?v=ggLAUsiuI_o&app=desktop

The average price to cover 200 square feet with a foam insulation kit will run between $300 and $600 (about two to three kits). Inside these kits is something called Icynene, a foam made from two liquids that are heated and pushed through a gun on the can. When Icynene is released, it expands up to 100 times its size as it hits the surface area you're covering. These can contain a lot of gasses, making its installation a dangerous process. Even low-pressure sprayers can be harmful to homeowners' health.
DID YOU KNOW? Spray FOam insulation out-performs conventional insulation materials because they (conventional insulation materials) trap still-dry air and if that air moves or becomes wet, the thermal resistance can drop by 50%. Spray Foam protects against air infiltration, which can increase energy costs in buildings by 10 to 40%. Eliminate these drafts and live in a more energy-efficient, comfortable and healthier building by choosing spray foam insulation.
This stuff works GREAT ! I live in an older mobile home that had a lot of leaks when I moved-in. I worked for two years to locate and fix them all. Now I simply go over all of the repaired places once a year just to be sure everything is OK. NO LEAKS FOR 4 YEARS NOW!!  Others here use "sno proof" or something that does not stop leaks. When I tell them about my success, they don't seem to want to pay the$ for this superior product. Too bad!. I used the tape in  repairing the leaks.
Carefully examine the roof membrane (surface material) for cracks, tears, blisters, evidence of ponding, exposed foam, and open seams. If already coated, evaluate the condition of the coating. Pay particular attention to areas around roof penetrations (vents, skylights, pipes, etc), ponding areas, cracks in parapet walls, and the attachment of roof membranes to parapet walls. Roofs should be in good condition to warrant coating.
There are two main types of spray foam to consider: open-cell and closed-cell. Open-cell spray foam has a lower R-value per inch and because of this, typically a lower price tag. The soft, low-density material is used for interior applications. Its high permeability allows for moisture to pass through, which contributes to bi-directional drying of the assembly, but it may not be ideal for all applications or climates.  http://kvsprayfoam.com/images/kv-spray-foam-insullation.jpg
Note:  A board foot is defined as a 12" x 12" square at 1" thick. Actual output can be affected by a number of factors including temperature and humidity. The theoretical yield has become an industry standard for identifying certain sizes of two component kits. Theoretical yield calculations are performed in perfect laboratory conditions, without taking into account the loss of blowing agent or the variations in application methods and types.

Where Can I Buy Spray Foam Insulation