I made a wallet years back. It has a good amount of Bitcoin then I wiped and sold my laptop. Now somehow I found my wallet address public key. Is it possible to get the private key somehow?
This is impossible.
The whole point of public key cryptography is that the public key can be shared with anybody, without compromising the private key. If there were a way to recover the private key using the public key, this would all fall apart, and in particular Bitcoin would be horribly insecure. This hasn't happened.
The public key could be used to determine how much Bitcoin is associated with that key, but it is no help at all in actually accessing those coins. Sorry.