Hi,
It is certainly possible. Single name equity swap? The marginal VaR is usually calculated with the covariance matrix E -- the portfolio variance is w'Ew, and then you scale up the square root of that by some coefficient to get portfolio VaR (95%, 99%, 1 day, 10 day, etc).
The derivative of this portfolio variance is a vector 2Ew, which should be the vector of marginal variances from each position. From there you work back to marginal VaRs.
For single name credit default swaps or asset swaps, the covariance matrix method is not used as much. Monte Carlo is another way to get VaR, but it is more difficult to get marginal contributions -- you can run 2 portfolios on the same random paths, one portfolio with, and one without, the swap, and the VaR difference might be considered "incremental VaR" of the swap. But that is pretty costly for such a number.