Yes, this can be a huge risk, since selling the underlying stock before the covered call expires would result in the call now being "naked" as the stock is no longer owned. This is akin to a short sale and can generate unlimited losses in theory.