Yes, fleas have digestive systems and produce feces, so it can be assumed that there is bacteria in their digestive system that produces methane which results in farts.
Some links on this site are paid or affiliate links. If you click one and buy something, this site may earn a commission at no extra cost to you. More information.