Set wrap and nowrap for a container or a grid

Hello,
is there a way to set flex-wrap: wrap or flex-wrap: nowrap for a container or a grid?

Other than adding it via CSS from the customizer.

Thank you