Namespaces are not supported by UnrealHeaderTool, so should not be used when defining UCLASSes, USTRUCTs etc.
In 2014, Max proposed to ask here:
Is there a plan to support USTRUCTs/UCLASSs to be encapsulated in custom namespaces? If not, is there a serious reason that prevents this support?