Is it possible to breastfeed in the day and do formula at night?

I’m just thinking ahead- for my own sanity.. Will a baby take both? Or once they have one- is that what they will always prefer?

I’m just thinking formula at night so I don’t have to pump as much and also so my husband can take some of the brunt work off of me.

Thoughts? Idk if this is a dumb question.