Can you have still have an epidural with herniated disks in your spine?

Yes. The short answer is yes. I don't know what context you are asking about this for. There are labor epidurals and those for surgery to render a patient numb and then there are therapeutic epidurals with steroid for herniated discs etc.
Yes. Usually an epidural can be done not at the same level as the disc herniation if being done for anesthesia purposes.