Can Dynatrace monitor container based Keycloak?

Can we assume that Dynatrace can replace Prometheus and Jaeger to receive the metrics dan traces via Otel agent?

As per the keycloak doc, looks like they are not using common OpenTelemetry way to export metrics.

My suggestion is to use the prometheus datasource Prometheus data source — Dynatrace Docs

How about the traces, can we replace Jaeger with Dynatrace?

Looks like they have a specific configuration to send only to jaeger. You should try installing the oneagent..

Is it better than Ingesting data from Jaeger into Dynatrace?

Ingest data from Jaeger - Dynatrace Docs

To catch from Jaeger you need an additional collector.
If you can catch directly from the agent you save additional configurations.