Only if money is no object and you like burning it.
A Tomahawk missile costs about $832,000.
https://www.thesun.co.uk/news/3277606/tomahawk-missile-cruise-missiles-syria-us-air-strike
An Excalibur GPS artillery round costs about $60,000.
https://strategypage.com/htmw/htart/articles/20190811.aspx
Sometimes a missile is the only way to go but, when it's not, artillery is the way to go.
The older Tomahawks they fired were $832k - but their replacement price is $1.87M for a new Block IV TLAM.
https://en.wikipedia.org/wiki/Tomahawk_(missile)