I'm uncertain of the risks as I haven't looked into it too deep. But there are at least two (probably more) companies that offer these kind of loans already.
LEDN (Canadian company)
and
nostr:npub19yfzme2usrukjgwxs3eekfnj5xhnarygpqjr2m48agsvvgz32ggqhymc68 (European based I believe)