I wouldn't say it's recommend but I don't see any reason why it wouldn't work.
But you have to be very careful about having these pkmn towards the beginning of your line up. Because if all your other pkmn get sweeped and you have these two left it's not gonna go well due to them not having a range of attacks to deal with different types.