As far as anything "legal" goes? There is no reason why your black and grey cannot go to one tank. Even in my house, the toilet and all the sink drains and showers and bathtubs, all flow to one pipe that goes into the septic tank.
Black and grey tanks in campers were added for convenience. My parents 1963 Phoenix travel trailer had only 1 tank for everything. It was never a problem (as I remember).
Even now, I use the grey water to back-flush into the black tank to help clean it out every time I dump the black. There's no reason why you cannot have everything go to one tank, except convenience.
As stated above, there is a risk of overflow. But if it does, you'll just have be your own hazmat team and clean it up, cause no one else is going to!
If it were me though, I think I'd want the two tanks separate. We have filled the grey water tank so full before that water was standing in the shower. It can happen. Glad it was just soapy water when it did. Can't imagine standing is something not quite so desirable.
Yes, you can use one tank and nothing wrong or illegal with that. But in actual function, you are probably better off with 2 separate tanks, or at least a separate drain for the grey and (as suggested above), use an alternative portable tank.