Certainly!
Xylene is a chemical solvent belonging to the aromatic hydrocarbons category. Diesel, on the other hand, is a composite of alkanes, olefins, cycloalkanes, aromatics, and polycyclic aromatics.
They are fully compatible and can be intermixed in any ratio without issue.