Technically speaking, yes you can file an IFR flight plan, even if you are not current. However, there is really no point in doing this. In fact, there is no point in filing an IFR flight plan at all, unless you will be accepting clearance should it be granted. If you are not current, then you are not legally allowed to accept clearance (just like you cannot if you are not instrument rated), so there is really no point in filing the plan if you are unable to actually complete the flight.
As a pilot, it is your responsibility to ensure that you always remain current. In the same way, it is your responsibility to know all the legalities surrounding IFR clearance. As we have said previously, there have been cases where a pilot who is not instrument rated, or not current, have been granted clearance for an IFR flight plan they have submitted. This is because the status of the pilot is not always checked before clearance is granted. So while you can file an IFR even though you are not current, you shouldn’t ever do this.