Honestly, that doesn't sound like anything that is consdered what would be a common fault lots of us have encountered.
It's hard to say over the internet but you clearly have a bad electrial issue.
if it was me, this is what I would check before calling out an auto elec. It could verywell be a failing battery or even just poor connections. This is the first thing to rule out, even if it seems obvious.
Weak battery can cause:
- ECU communication failures
- Immobiliser/key recognition issues
- Random “dead car” symptoms
Grab a voltage meter, Battery voltage (should be ~12.6V off, ~14+V running) check the terminal tightness, corrosion on terminals or ground points.
You could even have a bad/loose ground. Check Battery-to-chassis ground & Engine ground strap if you find any corrosion, rub it down.