Yes, for metric ingestion you can also use the local port on OneAgent (typically localhost:14499) or use the oneagent ingest tool available with oneagent. The advantage here is, that you don’t need any authorization (Api-Tokens) for sending metrics to Dynatrace. It’s probably the best way to ingest the metrics in your case.
You can also create a OneAgent extension and send metrics using the extensions (that’s similar to the ActiveGate extension), but the OneAgent extension can bind metrics only to the host itself.