A snap that calls modprobe?

I am trying to create a snap for https://github.com/erpalma/lenovo-throttling-fix

It calls modprobe msr and my snap being in devmode throws the following error

modprobe: FATAL: Module configs not found in directory /lib/modules/4.18.0-10-generic

Now if I change my snap to be a “classic” snap, that error does not happen but then I am pretty sure such a snap won’t be allowed in classic confinement.

So what are my option if I want my snap to stay in devmode and still be able to call modprobe ?

Something similar is discussed here: Fwts snap with kernel-module-control interface

The kernel-module-control interface can be used for this, but it has similar restrictions as classic snaps since it grants device ownership to the snap. Does the msr module not autoload?

If not, perhaps we could consider a new interface that uses the kmod backend to have snapd load it on behalf of the snap. Otherwise, see my idea in the other topic.