Is a system generated activity id suitable to use as an idempotency key?

The duplicated activity IDs are possible only if they are provided by the application code.