How to disable bootstrapping of an extension

Is there a way to disable the bootstrap section of an extension from ‘composer.json’.

Like setting ‘myextension’ => ‘false’ manually in the config ‘bootstrap’ section?

I thought this is already in the docs, but I haven’t found it.