What do you mean by creating a dashed TopoDS_Edge? To display it using the same style via AIS_Shape? Then yes - you just need configuring presentation attributes.
This is normally a visualization feature - creating a dashed geometry doesn't sound useful to me. Such TopoDS_Edge will be discontinuous (hense, useless for any further operations) or constructed from numerous of TopoDS_Edge's.