Orthotics can be very useful and they are made to help your feet rather than hurt them. However, it is important to always make sure that you wear the right prescription.
Just like with spectacles, if you wear a wrong prescription you could do more harm than good to your eyes. If improperly prescribed, orthotics can cause pain and discomfort.