Notation in 3/8 timing

I am having trouble writing this in 3/8. Is it possible?

Hidden tuplets (if that’s what your cryptic message is about).

That looks like Scarlatti to me. I may be wrong, but he never writes out ornaments like that.

Here it is with the dashed lines.