Disabling/Enabling specific extensions at runtime

I’m creating a project to detect anomalies in the network using JA3. As such, I’m willing to generate at runtime different JA3 hashes, preferably from the same device.
For that, i need to also generate different extensions in the request.
I saw that setting ciphersuites & groups is available through some functions, but does MbedTLS support disabling/enabling extensions at runtime?
Thanks in advance!