I don't see how you can do more than
- have a professional check out your dryer periodically,
- clean the lint trap every cycle and
- periodically clear lint out of the exhaust duct (all the way to the duct's exit).
OTOH I personally would not use a gas dryer in a home. While gas is faster drying and lower cost, an electric dryer is simpler and less worrisome. Sometimes "Less is more." And if you prefer an older electrical model, they are available! Perhaps a re-furbisher would take your gas dryer in trade?
The last two maintenance items above should be done for electric dryers too, since electric dryers can ignite trapped lint as well as can gas.
See https://www.envistaforensics.com/knowledge-center/insights/a...
I particularly like their suggestion to put a smoke alarm above the dryer, which I will do today!