Can I use a GAS AbilityTask in c++?

I want to specify, I’m not asking how to create an ability task. Although if subclassing one of the existing AbilityTasks is how to achieve it, then so be it.

What I want to do, is use an ability task from within a class derived from UGameplayAbility in c++.

I thought maybe subscribing to the respective activation delegates (like EventReceived or Triggered) might be all I needed, however they seem to mostly be protected or private.

I’m not really sure from here if there is any way to achieve it though, if its even practical, or if I should be pursuing another method