I wonder whether a virtual CD drive implemented at
BIOS level can
persist even after OS is boot up?
Sure. Study System Management Mode. It can be used to virtualize
hardware of many kinds, including an optical PATA drive.
My guess is that you will have to implement it yourself.