It is not very difficult to redraw lines. You only need enought suitable \tikzmark/\pgfmarks -- you can create them automatically with some counter. You can even use them in tikz commands before they are set to draw backgrounds. In a setup with automatic breaks you should put the \tikz-commands inside the cells to that they don't get separated from their mark by a page break.
\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\begin{document}
\tikz[overlay,remember picture]\fill[yellow,] ({pic cs:tabstart} |- {pic cs:a1}) rectangle ({pic cs:tabend} |- {pic cs:a2});
\tikzmark{tabstart}%
\begin{tabular}{l}
abcxxxxxxxxxxxxxxx \\\noalign{\pgfmark{a1}}
aa\rule[-1cm]{4pt}{2.5cm}xxxxxxxx\\\noalign{\pgfmark{a2}}
\end{tabular}%
\tikzmark{tabend}
\tikz[overlay,remember picture]\draw[red,] ({pic cs:tabstart} |- {pic cs:a1}) --({pic cs:tabend} |- {pic cs:a1});
\tikz[overlay,remember picture]\draw[green,]({pic cs:tabstart} |- {pic cs:a2}) --({pic cs:tabend} |- {pic cs:a2});
\end{document}
