More than that. I wrote my first machine learning project in Perl.
Perl 5 is better than Python in many ways, but worse in other ways. Raku seems to have none of the downsides Perl 5 had, but all of the upsides. Raku looks like it could be a valid replacement for Python in the ML space.
Also, back then, Perl 5 had better libraries than Python. Though, that was quite a while ago.