If such a process leads to growing hair in such a way it is considered as part of the body, then it is sufficient to wipe on it. If what is placed on the head is a wig, then it is not sufficient in wudhu or ghusl to wipe on it.
It is permissible to seek intercession from Imam Ali (peace be upon him) by the said words as well as other words. Although the mentioned phrases were not reported to us via an Imam, they are famous lines of poetry.
If in the normal course of your life or the nature of your work requires you to travel frequently to this distance, then you should fast in your travels. You could hire a driver or use a form of transportation that doesn’t require you to drive. If you are not a frequent traveller, then your fast is invalidated by such travel while you are travelling, and you should make up for the missed fast later.