If you are writing a rhythm that takes up four beats, could you include 2 whole notes? Why or why not?

Pls help, thanks :)