Yes, you can. It depends on the platform you've bought it on.
For example, if you bought it via steam you must acess steam's help web page (https://help.steampowered.com/), log-in, go to purchases and request a refund via there. However you can't refund if you bought the game 2 weeks prior to purchase or have spent 2 or more hours of playtime.
As for other consoles, i can't help you how, but i can assure you that it's possible