Short answer: Yes, you can.
Usually these are coupled systems for transcription and translation. For these you clone the gene of interest into a vector which contains a prokaryotic promoter which is then used to generate the mRNA in the tube. This mRNA is then translated in the second step into a protein. This works very well, but the protein is missing the typical post-translational modifications of eukaryotic cells like glycosylations, as these are not existant in the bacteria.
These kits can be purchased of the shelf from the usual biotech companies. Mostly these are based on _E.coli_ cell lysates. They work like shown in the figure (from here):
!enter image description here