Can pet owners safely feed their pet an unbalanced diet short term?

And how long is short term?