Not in Dashboards, unfortunately. The only place you can use Swipe is Web App Builder or one of the configurable apps like Compare.
As a workaround, I would suggest creating a web app with the Swipe widget in ArcGIS Web AppBuilder and embed that app into your dashboard.
Best regards,
Kanin
If this answer solved your question, please mark it as "Accept as Solution" to help others who have the same question.