I kinda agree with both of the above replies.
Can you do it, yes, with some cautions: On the back sticker of most panels, there will be a max system voltage or similar, if connecting in series, the voltage goes up, and if you exceed that you can damage a panel.
Also if the voltage exceeds the max of the charge controller, you can (and likely will) damage that.
Connecting in series, or parallel, or combination will reduce the max possible power from the entire system for the reasons stated above,
So, as always, the answer is “it depends”, If you’re trying to keep it as simple as possible, and won’t be exceeding the voltage (or amps, but that is a bit more of a discussion) to the degree of damaging any component, it will work, but be somewhat or significantly less efficient.
If you want max efficiency, then you need more components, more detailed design etc. (multiple charge controllers, preferably mppt, more fuses, fuse holders, cut off switches, wires, terminals, possibly buss bars etc.