According to the theory of general relativity, any object can become a black hole if it is compressed enough to a small enough size that its escape velocity exceeds the speed of light. The escape velocity is the minimum speed needed for an object to escape the gravitational pull of another object.
For example, the event horizon of a black hole is defined as the point of no return, where the escape velocity exceeds the speed of light. To create a black hole, an object would need to be compressed to a size smaller than its Schwarzschild radius, which is a measure of the critical radius at which the escape velocity equals the speed of light.
However, it is not possible for an object to gain enough mass simply by moving at high speeds. In fact, according to the theory of relativity, as an object approaches the speed of light, its mass increases, but the amount of energy required to accelerate it further also increases, making it impossible to reach the speed of light or exceed it. So while high-speed collisions can increase the kinetic energy and momentum of particles, they cannot generate enough mass to create a black hole.