I really like this question.
It draws attention to an important point to be made, which is, of all the things explicitly managed by the Church, personal prayer is relatively low on the list.
As a Catholic belonging to a predominately Southern Baptist extended family (most of them consider fried chicken a sacrament in lieu of potluck), I must constantly remind myself that the Church can appear from the outside to be rather rigid.
The truth is that, although the Church explicitly defines the rituals surrounding the Sacraments and sacramentals, personal devotion and prayer is, for the most part wide open.
Can a Catholic pray a spontaneous prayer? Absolutely! – as long as it is not inappropriately interruptive. (e.g. not during functions such as weddings, funerals, Mass, etc.)
Can Catholics “wing” prayers? Sure…I know I have a time or two. My priest does all the time.
In all reality, my blessings aren't that much different than that of my ordained Baptist Brother-in-Law.
Is this “bacon prayer” an “official prayer” of the Catholic Church? No.
From what I can tell, this is, at best, a prayer of a particular localized pious tradition.
The closest “official prayer” I can find of this nature is found in the RITUALE ROMANUM, which is a collection of the "officially approved" prayers to be used in the Church’s official rituals.
Blessings of animals
Lord God, King of heaven and earth, Word of the Father by whom were
made all creatures destined for our sustenance; we beg you to look
with favor on our lowly condition; and as you have given us assistance
in our work and in our needs, so may you bless, shield, and watch
over these animals (this animal) with your mercy and heavenly care.
And to us, your servants, be pleased to give everlasting grace
together with creature needs, thus enabling us to praise and glorify
and offer thanks to your holy name; through Christ our Lord. Amen.
The standard prayer for blessing soon to be eaten food (including bacon, fried chicken, and even pot-luck) is as follows:
Bless us Oh Lord and these thy gifts which we are about to receive
through thy bounty through Christ Our Lord, Amen.
Wherever you are in the world, this is probably the blessing prayed before all Catholic meals.
Even so…this doesn't necessarily have to be prayed over food - given the appropriate situation.
For instance - my 3 years old daughter and 5 years old son do good just to get out:
In name of da Fater, Son, whole Spirit…tank you Jeus for dis food.
We actually let the small children of the family pray the above prayer for all family functions, completely safe from canonical infraction.
All things considered, I’m afraid that what you read in your FB feed was perhaps a slight pseudo-caricature of Catholic devotion.
As for the above “bacon prayer,” I truly hope someone comes up with the origin of this prayer. It will make for a great conversation starter at my next pot-luck Knights of Columbus function.