I am currently writing shiny apps in R for dyadic data analysis that do this. Also There are nine apps for analysis (see http://davidakenny.net/DyadR/DyadRweb.htm) and three for dyad data restructuring (see http://davidakenny.net/RDDD.htm). See a somewhat dated powerpoint at http://davidakenny.net/DyadR/DyadR.ppt that describes this approach. For an example try https://davidakenny.shinyapps.io/APIM_MM/ for which you would need a pairwise dataset, one of which can be downloaded at davidakenny.net/kkc/c7/campbell_pairwise.sav.