No, Not Continuously
Hermit crabs need a heat source, but leaving a heat pad on all the time can overheat the enclosure and stress the animals.
Creating a Temperature Gradient
Provide a heat lamp or heat pad on one side of the tank during the day, and turn it off at night. This lets the crabs choose their preferred temperature and retreat to a cooler area when needed.