Polymer-based conductive nanocomposites, particularly those incorporating carbon nanotubes, are highly promising for the development of flexible electronics, soft robotics and wearable devices. However, CNTs are difficult to work with as they tend to agglomerate, making it hard to obtain a uniform dispersion. Moreover, conventional methods limit control over CNT distribution and shape.