Using fade-no-fill.sty from Hotschke and Andrew Stacey for the shading and percusse's method for blurring, a shaded and blurred path can be drawn.

\documentclass{standalone}
\usepackage{tikz}
% ateb: https://tex.stackexchange.com/a/700367/
% fade-no-fill o:
% ateb Hotschke updated gan Andrew Stacey: https://tex.stackexchange.com/a/567029/
%\url{https://tex.stackexchange.com/a/327713/86}
\usepackage{fade-no-fill}
\begin{document}
\begin{tikzpicture}
\foreach \x [evaluate=\x as \xc using 0.5100ln(10/\x)] in {10,9.9,...,1}{
\path [fade path but don't fill={line width=\x*1pt,transparent!0}{left color=cyan!\xc,right color=magenta!\xc}] (0,0) .. controls (3,5) and (6,-1) .. (7,2) ;
}
\end{tikzpicture}
\end{document}
Note that you would not want to use this too often as it is s-l-l-o-o-o-w.
Edit
The code works OK for me in Beamer, too.
\documentclass{beamer}
\usepackage{tikz}
% ateb: https://tex.stackexchange.com/a/700367/
% fade-no-fill o:
% ateb Hotschke updated gan Andrew Stacey: https://tex.stackexchange.com/a/567029/
%\url{https://tex.stackexchange.com/a/327713/86}
\usepackage{fade-no-fill}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\foreach \x [evaluate=\x as \xc using 0.5*100*ln(10/\x)] in {10,9.9,...,1}{
\path [fade path but don't fill={line width=\x*1pt,transparent!0}{left color=cyan!\xc,right color=magenta!\xc}] (0,0) .. controls (3,5) and (6,-1) .. (7,2) ;
}
\end{tikzpicture}
\end{frame}
\end{document}

Note that I'm using the second version of the sty from https://tex.stackexchange.com/a/567029/ i.e. the updated one added in July 2021 by Andrew Stacey, modified in light of changes to spath3.