There are some safety concerns at least for relatively powerful panels - e. g. if a circuit breaker is 30A you can draw up to 30A from the grid in absence of panels. If you connect a panel which can provide another 30A then a device in theory will be able to draw 60A from the socket not triggering circuit breaker which will overload the socket circuit.
They don't generate anywhere close to 30A for exactly that reason. They are limited to 400W (4 Amps)
https://duckduckgo.com/?t=ffab&q=balcony+solar+maximum+watta...
Since the panels don't plug in directly but have to go through an inverter that turns the panel's DC into the grid's AC, you can "solve" this by limiting the maximum output current of the inverter to some safe level (e.g. allowing 8A of solar on a 20A circuit, eating into safety margins). You can still connect powerful panels, but all that will get you is more output in mornings, evenings and under cloud cover, not more max output.
Or you can pair it with a reasonably sized battery to store midday "surplus" (any generation beyond the determined safe level) and release it into the circuit when the panel generates less