This is not possible as Android uses the package name to uniquely identify an app so if you load another app with the same package name it tries to replace the existing app.
"app not installed as package appears to be invalid" is not a very helpful message unfortunately. Are you using an old version of B4A and trying to target SDK 31 or higher?
Also try to reduce your target SDK to 30 or lower and see if the error goes away.