I had plantar fascitis some years ago. No insoles worked, so I got a boot for sleeping with my foot in the right position--it was from Amazon. Even after it went away, I sleep when on my stomach with my feet hanging off the edge of the bed to keep them at right angles. Hasn't come back.
Amazon.com