No, this is not allowed the draft C++ standard in section 3.6.1
Main function paragraph 3 says:
[...]A program that defines main as deleted or that declares main to be inline, static, or constexpr is ill-formed.[...]
main
has to be a run-time function and as Lightness says it makes no sense since you can't optimize main
away.