What filters are to optics, could gas be to a laser?
Short answer: no.
But I think you need to say what you mean.
i.e. lasers are part of the field of optics ... so what filters are to optics, filters are also to lasers.
Simon Bridge is exactly right...you must explain your question in greater detail if you expect reasonable answers and comments.
You may (I am only guessing) mean this kind of gas lens:
“Effect of gas thermal lens in laser resonator on beam mode of high-power CO2 laser”
That and there are gas filters too.
... but I don't see if this fliter is to the laser what some generic "filter" is to "optics".
Then of course, photographers often talk about "lens filters".
... and the question is asked in the context of "electrical engineering" - leaving a real puzzle as to what sort of relationship is in mind.
Separate names with a comma.