Answer:
Sometimes.
Forest soils form under forests. No forest, no forest soils.
Mountain soils form on mountains, whether or not forests grow there.
Not all mountains are forested. Also, even when forests exist on some mountains, they can also include desert vegetation at low elevations, and/or alpine tundra at high elevations. Soils that form under such vegetation types are not forest soils.