Sure it is!
How? Depends mainly on the interfaces available on your board and secondly how much coding effort you want to spend.
The simplest way is using N input pins to select x among 2^N predefined values. You only need a board with some spare digital inputs, possible connected to a row of dip switches where the user select the desired value.
An input method involving user prompting and directly entering the value is far far more complex and requires an advanced knowledge of hdl and fpga itself, since you'd need to implement a serial port or any other I/O interface.
This applies if you want to change x 'runtime', with a standard fpga configuration. Instead, if you want to assign the value at compilation time (so, creating a different fpga configuration for different x values), you should use tcl scripting or any other way to automate the change of the parameter whenever you start compilation.