(I suppose you're talking about RSA.)
Yes, perhaps, but not 100% .
The public key is part of the private key. It contains the module and key record.
You can completely forget about changing the module because you have to generate a new rsa key pair, which is the same problem as the problem we are trying to solve.
. () 1 hope, . , . , , , (!).
, 100% - , , .