To ad-lib a homily; which is prudential, is acceptable and for most Priests is SOP. To ad-lib the Liturgy of the Word or Liturgy of the Eucharist is a no-no.
ad libitum - Latin for "at one's pleasure"
Thank you. You are quite correct. I meant to apply the ad-lib to the Liturgy. I see now that I messed up.