Only if you have been careful from the beginning to design your system in a platform agnostic way and don't rely on AWS specific services and APIs.
I'm guessing the biggest such service is S3. Other providers offer compatible APIs. The fastest way to convince developers to abandon or avoid services is to start price gouging.
S3 is probably one of the easiest to migrate. More problematic would be things like SQS, SNS, DynamoDB, SES, Lambda, etc. And that isn't even mentioning any control plane or infrastructure level code.
Remember as well that large customers have contracts that require certain notice periods before any price increase can take effect. Even the standard customer agreement requires 30 days' notice.
Assuming they did this (and I'm talking 'add a zero to their pricing,' not 'a 5% bump'), it'd juice their revenue for a couple of years and then it would plummet as folks migrated to more economical / trustworthy options.
At the scale that AWS operates, if they raise their prices 1% they lose some measurable percentage of their sales in response. It's not a given that raising the price raises the profits. I wouldn't be surprised if their pricing is already optimized.
Most of AWS is "pointless" in the sense that all you need to be able to do is define VPCs and rent EC2 instances and deploy open source software on those instances to accomplish the same thing.
The cost that Amazon charges for all the extraneous services is priced exactly at the point where someone would rather pay those costs rather than pay developers to go implement them on EC2s.