Yah you can apply, the problem is they will not give you a visa or permit that is valid longer than the validity of your passport. So if you have time might as well renew your passport now, or before you send in the application. (Hopefully it doesn't take that long.)