Absolutely, in fact it's pretty easy and is routinely done by amateur and professional astronomers alike. We've had satellites, airplanes, and meteors obstructing astronomical images ever since we began taking them.
A very simple and common way is to stack all of the static images aligned on top of each other such that you have a set of values for each pixel corresponding to the same region of sky. Then sort the values of each pixel by brightness and keep the median value for that pixel. Or throw out that top and bottom 10% and average the rest, or throw out the top and bottom N, etc.
This is a standard feature of essentially all astronomical image processing software and has been for a long time.