The only issue is if you choose Amazon Kindle Direct Publishing's Select program. It requires exclusivity for a 90-day period.
If you use Amazon KDP (not the Select program), you are fine to publish through as many other sales channels as you like, including Smashwords.