Having composed a couple of "lay songs" myself in the days of my NO blindness, I can't say that such a composition would be intrinsically wrong. However, the mixture of silly melody and dangerous lyrics usually ends in nothing good.
I do wonder why the OP calls a guitar a profane instrument. O Holy Night! was composed on a guitar.