It can happen. There's only a select few AIs that will do it though, mostly because most AI thresholds for a DP are greater than what would keep you from being DoW'd.
Major exception I can think of off hand is Cathy, but there's another one I'm forgetting, some warmonger that takes DP's at pleased. Escapes me at the moment but it (rarely) happens.