Can I play Fiery Flint and discard two cards if there are no cards left in my deck?
No, you cannot. Discarding the two cards is a cost not the effect, and you cannot play Trainer cards for no effect.
Source: TPCi Rules Team (2019-03-21)

Relevant cards

Note: All applicable cards may not be listed below.
SM75_60
SM75_60a
SM75_60a
SM75_76