No, you can only extend agents by writing plugins with Oneagent plugin SDK.
As Julius mentioned, the only way to extend agents' functionality is through the plugin SDK. More help documentation can be found here: https://www.dynatrace.com/support/help/monitoring-...
Hayden