A pump will help you - plug it on, set your background insulin (basal) levels and it will help keep you in range.
You still need to be disciplined to keep on top of your settings, and change the insulin and cannula used in the pump - a pump is very very much better than injections, but you also need to put work in to achieve the perfect solution.
Modern stuff is HCL (Hybrid closed loop) where you wear a CGM (BG sensor) and it sends data to the pump, this lets it alter the basal insulin automatically to keep you in range - sick day rules are catered for automatically as your BG rises, you need to tell the system when you eat and how much though
Its almost like having a pancreas - but not quite - give it 5-10 years and it will be a lot closer.
The ideal is a fully closed loop where you don't do anything, just let it do its stuff - we are on the way to that but the current solutions take a heck of a lot of work to set up and control, not perfect but better
Recommendation from my experience - talk to your diabetic team about a pump / CGM and possibility of a HCL solution (we don't all qualify yet). Life changing stuff.