not according to documentation three.js docs
The following properties can't be easily changed at runtime
(once the material is rendered at least once):
numbers and types of uniforms
presence or not of
texture
fog
vertex colors
morphing
shadow map
alpha test
i’ve tried it as well and it seems to behave like the docs say. i don’t know about the codepen, perhaps it’s re-creating the materials somehow.
tried it out quickly festive-smoke-sjrtdy - CodeSandbox just changing it to null has no affect. im logging the material out and map is null, texture stays present nonetheless.