Is it okay to use a glycerin suppository after taking codeine?

Yes. It is ok to use a glycerin suppository, but it may not be enough. You may want to try a stool softener.