No, you do not have to. If you want only the door leaves to contrast, for example against a light interior, you can have white-painted frames for interior doors. It is quite common to let the frame "melt into" the wall.