Yes, of course it's legal to be experimental.
My question is why the aircraft was CHOSEN to be experimental?
Why was the aircraft chosen to be issued with an experimental CofA rather than a standard CofA? What advantage was the operator gaining by choosing to be experimental? Was there any difference in the maintenance actions undertaken as experimental that may have had a bearing on the crash?