Yes. It can be 10, 20, or whatever, as long as the EV output is the same.
Just be careful with the fact that some Pokemon gives EVs in more than 1 category (Ex: Abomasnow gives 1 Attack EV and 1 Sp. Attack EV), so if you are EV training 2 stats, this might throw you off