That was originally the intention with the IBM PC, e.g. the video card has its own Flash or (EPROM in the old days). Unfortunately it works in real mode only, and standardization for the software interfaces appears to have stopped around 1988. The elderly among us probably still remember Ralf Browns interrupt list.