If we remove Loki and other AGPL packages from grafana V11, can we use grafana as non-AGPL licensed product?

Can we remove Loki and other AGPL-3.0 package from Grafana and use Grafana.

Does this mean Grafana can be said to be in Apache license since we have removed AGPL licensed packages?

Please suggest,Thanks.