Text this: Generalized quantum rotation gates using STIRAP