Hi Matt, I used what you are proposing. It is safe and approved and inspected by my town.
You might be best to check your state allows interlocks, some do not I believe.
I have a panel interlock, a 30A dual breaker, to a 30A power inlet box (male connector pins L5-30), I use a L5-30 lead with a...