Can I restrict how people use an Open Source licensed program?

Answer:

No. The freedom to use the program for any purpose is part of the Open Source Definition. Open source licenses do not discriminate against fields of endeavor.