It's just an idea. Maybe you can create an IAM policy that allows the ec2 instances in your elastic beanstalk environment to modify instance credit specification and attach it to your elastic beanstalk ec2 role. Then create an Elastic Beanstalk Extension. I am not sure how to implement it though.
Check it out if this works.