I think a better question would be... Why would you not be able to do this? If you are dispensing the correct medication and the correct quantity I can not imagine someone could fabricate an issue with dispensing in 2 different vials.
For example - some need 1 vial for home and any other vial for school. There is nothing in the world wrong with this.