Yes, you can. Both IF and the Mediterranean diet have been shown to result in incredible benefits for weight loss and general health (20, 19, 3) so there is no problem in combining the two.