The foot specialist diagnosed me with Distal Tendenosis of Anterial Tibial tendon. I had burning sensation when I lay down at night. The burning was focused along the inside of the foot. Basically my foot arch had collapsed on the inside of the foot stretching and tearing the tendon on the inside of the foot. imagine pulling chewing gum apart and tiny tears appear. As you lie down the edges of the tear touch each other , the burning sensation. I already had orthotics but they raised the arch as high as it could go without me falling over. At night I wore a splint on my foot which kept my foot suspended and the burning subsided. After many months I no longer needed the splint. Now I only use it after I walk too much in the day.
Check them first at doctors then start wearing proper shoes n especially those with thick rubber, avoid walking barefoot